const Layout = () => import("@/layout/index.vue");

export default {
  path: "/home",
  name: "Home",
  title: "首页",
  icon: 'svg-spinners:blocks-shuffle-3',
  component: Layout,
  // 只显示子菜单 - 只能显示一个子菜单
  sightless: true,
  // redirect: "/home/index", // 此处会导致路由选不中菜单（/home 直接导航到了 /home/index）
  children: [
    {
      path: "/home",
      name: "homeIndex",
      icon: 'svg-spinners:blocks-shuffle-3',
      component: () => import("@/views/home/index.vue"),
      meta: {
        title: 'menus.home'
      }
    }
  ]
}
